package com.vivo.house.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BuildStageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BuildStageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalIsNull() {
            addCriterion("FK_Project_approval is null");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalIsNotNull() {
            addCriterion("FK_Project_approval is not null");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalEqualTo(String value) {
            addCriterion("FK_Project_approval =", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalNotEqualTo(String value) {
            addCriterion("FK_Project_approval <>", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalGreaterThan(String value) {
            addCriterion("FK_Project_approval >", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalGreaterThanOrEqualTo(String value) {
            addCriterion("FK_Project_approval >=", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalLessThan(String value) {
            addCriterion("FK_Project_approval <", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalLessThanOrEqualTo(String value) {
            addCriterion("FK_Project_approval <=", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalLike(String value) {
            addCriterion("FK_Project_approval like", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalNotLike(String value) {
            addCriterion("FK_Project_approval not like", value, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalIn(List<String> values) {
            addCriterion("FK_Project_approval in", values, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalNotIn(List<String> values) {
            addCriterion("FK_Project_approval not in", values, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalBetween(String value1, String value2) {
            addCriterion("FK_Project_approval between", value1, value2, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andFkProjectApprovalNotBetween(String value1, String value2) {
            addCriterion("FK_Project_approval not between", value1, value2, "fkProjectApproval");
            return (Criteria) this;
        }

        public Criteria andBuildDateIsNull() {
            addCriterion("Build_Date is null");
            return (Criteria) this;
        }

        public Criteria andBuildDateIsNotNull() {
            addCriterion("Build_Date is not null");
            return (Criteria) this;
        }

        public Criteria andBuildDateEqualTo(Date value) {
            addCriterion("Build_Date =", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateNotEqualTo(Date value) {
            addCriterion("Build_Date <>", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateGreaterThan(Date value) {
            addCriterion("Build_Date >", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Build_Date >=", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateLessThan(Date value) {
            addCriterion("Build_Date <", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateLessThanOrEqualTo(Date value) {
            addCriterion("Build_Date <=", value, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateIn(List<Date> values) {
            addCriterion("Build_Date in", values, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateNotIn(List<Date> values) {
            addCriterion("Build_Date not in", values, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateBetween(Date value1, Date value2) {
            addCriterion("Build_Date between", value1, value2, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildDateNotBetween(Date value1, Date value2) {
            addCriterion("Build_Date not between", value1, value2, "buildDate");
            return (Criteria) this;
        }

        public Criteria andBuildNameIsNull() {
            addCriterion("Build_Name is null");
            return (Criteria) this;
        }

        public Criteria andBuildNameIsNotNull() {
            addCriterion("Build_Name is not null");
            return (Criteria) this;
        }

        public Criteria andBuildNameEqualTo(String value) {
            addCriterion("Build_Name =", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameNotEqualTo(String value) {
            addCriterion("Build_Name <>", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameGreaterThan(String value) {
            addCriterion("Build_Name >", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameGreaterThanOrEqualTo(String value) {
            addCriterion("Build_Name >=", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameLessThan(String value) {
            addCriterion("Build_Name <", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameLessThanOrEqualTo(String value) {
            addCriterion("Build_Name <=", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameLike(String value) {
            addCriterion("Build_Name like", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameNotLike(String value) {
            addCriterion("Build_Name not like", value, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameIn(List<String> values) {
            addCriterion("Build_Name in", values, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameNotIn(List<String> values) {
            addCriterion("Build_Name not in", values, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameBetween(String value1, String value2) {
            addCriterion("Build_Name between", value1, value2, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildNameNotBetween(String value1, String value2) {
            addCriterion("Build_Name not between", value1, value2, "buildName");
            return (Criteria) this;
        }

        public Criteria andBuildUnitIsNull() {
            addCriterion("Build_unit is null");
            return (Criteria) this;
        }

        public Criteria andBuildUnitIsNotNull() {
            addCriterion("Build_unit is not null");
            return (Criteria) this;
        }

        public Criteria andBuildUnitEqualTo(String value) {
            addCriterion("Build_unit =", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitNotEqualTo(String value) {
            addCriterion("Build_unit <>", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitGreaterThan(String value) {
            addCriterion("Build_unit >", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitGreaterThanOrEqualTo(String value) {
            addCriterion("Build_unit >=", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitLessThan(String value) {
            addCriterion("Build_unit <", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitLessThanOrEqualTo(String value) {
            addCriterion("Build_unit <=", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitLike(String value) {
            addCriterion("Build_unit like", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitNotLike(String value) {
            addCriterion("Build_unit not like", value, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitIn(List<String> values) {
            addCriterion("Build_unit in", values, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitNotIn(List<String> values) {
            addCriterion("Build_unit not in", values, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitBetween(String value1, String value2) {
            addCriterion("Build_unit between", value1, value2, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andBuildUnitNotBetween(String value1, String value2) {
            addCriterion("Build_unit not between", value1, value2, "buildUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitIsNull() {
            addCriterion("All_job_unit is null");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitIsNotNull() {
            addCriterion("All_job_unit is not null");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitEqualTo(String value) {
            addCriterion("All_job_unit =", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitNotEqualTo(String value) {
            addCriterion("All_job_unit <>", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitGreaterThan(String value) {
            addCriterion("All_job_unit >", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitGreaterThanOrEqualTo(String value) {
            addCriterion("All_job_unit >=", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitLessThan(String value) {
            addCriterion("All_job_unit <", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitLessThanOrEqualTo(String value) {
            addCriterion("All_job_unit <=", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitLike(String value) {
            addCriterion("All_job_unit like", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitNotLike(String value) {
            addCriterion("All_job_unit not like", value, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitIn(List<String> values) {
            addCriterion("All_job_unit in", values, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitNotIn(List<String> values) {
            addCriterion("All_job_unit not in", values, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitBetween(String value1, String value2) {
            addCriterion("All_job_unit between", value1, value2, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobUnitNotBetween(String value1, String value2) {
            addCriterion("All_job_unit not between", value1, value2, "allJobUnit");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeIsNull() {
            addCriterion("All_job_scope is null");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeIsNotNull() {
            addCriterion("All_job_scope is not null");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeEqualTo(String value) {
            addCriterion("All_job_scope =", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeNotEqualTo(String value) {
            addCriterion("All_job_scope <>", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeGreaterThan(String value) {
            addCriterion("All_job_scope >", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeGreaterThanOrEqualTo(String value) {
            addCriterion("All_job_scope >=", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeLessThan(String value) {
            addCriterion("All_job_scope <", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeLessThanOrEqualTo(String value) {
            addCriterion("All_job_scope <=", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeLike(String value) {
            addCriterion("All_job_scope like", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeNotLike(String value) {
            addCriterion("All_job_scope not like", value, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeIn(List<String> values) {
            addCriterion("All_job_scope in", values, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeNotIn(List<String> values) {
            addCriterion("All_job_scope not in", values, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeBetween(String value1, String value2) {
            addCriterion("All_job_scope between", value1, value2, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andAllJobScopeNotBetween(String value1, String value2) {
            addCriterion("All_job_scope not between", value1, value2, "allJobScope");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateIsNull() {
            addCriterion("project_Associate is null");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateIsNotNull() {
            addCriterion("project_Associate is not null");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateEqualTo(String value) {
            addCriterion("project_Associate =", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateNotEqualTo(String value) {
            addCriterion("project_Associate <>", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateGreaterThan(String value) {
            addCriterion("project_Associate >", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateGreaterThanOrEqualTo(String value) {
            addCriterion("project_Associate >=", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateLessThan(String value) {
            addCriterion("project_Associate <", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateLessThanOrEqualTo(String value) {
            addCriterion("project_Associate <=", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateLike(String value) {
            addCriterion("project_Associate like", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateNotLike(String value) {
            addCriterion("project_Associate not like", value, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateIn(List<String> values) {
            addCriterion("project_Associate in", values, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateNotIn(List<String> values) {
            addCriterion("project_Associate not in", values, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateBetween(String value1, String value2) {
            addCriterion("project_Associate between", value1, value2, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andProjectAssociateNotBetween(String value1, String value2) {
            addCriterion("project_Associate not between", value1, value2, "projectAssociate");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitIsNull() {
            addCriterion("Business_unit is null");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitIsNotNull() {
            addCriterion("Business_unit is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitEqualTo(String value) {
            addCriterion("Business_unit =", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitNotEqualTo(String value) {
            addCriterion("Business_unit <>", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitGreaterThan(String value) {
            addCriterion("Business_unit >", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitGreaterThanOrEqualTo(String value) {
            addCriterion("Business_unit >=", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitLessThan(String value) {
            addCriterion("Business_unit <", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitLessThanOrEqualTo(String value) {
            addCriterion("Business_unit <=", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitLike(String value) {
            addCriterion("Business_unit like", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitNotLike(String value) {
            addCriterion("Business_unit not like", value, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitIn(List<String> values) {
            addCriterion("Business_unit in", values, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitNotIn(List<String> values) {
            addCriterion("Business_unit not in", values, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitBetween(String value1, String value2) {
            addCriterion("Business_unit between", value1, value2, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andBusinessUnitNotBetween(String value1, String value2) {
            addCriterion("Business_unit not between", value1, value2, "businessUnit");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdIsNull() {
            addCriterion("Subpackage_ID is null");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdIsNotNull() {
            addCriterion("Subpackage_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdEqualTo(String value) {
            addCriterion("Subpackage_ID =", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdNotEqualTo(String value) {
            addCriterion("Subpackage_ID <>", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdGreaterThan(String value) {
            addCriterion("Subpackage_ID >", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdGreaterThanOrEqualTo(String value) {
            addCriterion("Subpackage_ID >=", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdLessThan(String value) {
            addCriterion("Subpackage_ID <", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdLessThanOrEqualTo(String value) {
            addCriterion("Subpackage_ID <=", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdLike(String value) {
            addCriterion("Subpackage_ID like", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdNotLike(String value) {
            addCriterion("Subpackage_ID not like", value, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdIn(List<String> values) {
            addCriterion("Subpackage_ID in", values, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdNotIn(List<String> values) {
            addCriterion("Subpackage_ID not in", values, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdBetween(String value1, String value2) {
            addCriterion("Subpackage_ID between", value1, value2, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSubpackageIdNotBetween(String value1, String value2) {
            addCriterion("Subpackage_ID not between", value1, value2, "subpackageId");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitIsNull() {
            addCriterion("Supervise_unit is null");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitIsNotNull() {
            addCriterion("Supervise_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitEqualTo(String value) {
            addCriterion("Supervise_unit =", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitNotEqualTo(String value) {
            addCriterion("Supervise_unit <>", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitGreaterThan(String value) {
            addCriterion("Supervise_unit >", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitGreaterThanOrEqualTo(String value) {
            addCriterion("Supervise_unit >=", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitLessThan(String value) {
            addCriterion("Supervise_unit <", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitLessThanOrEqualTo(String value) {
            addCriterion("Supervise_unit <=", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitLike(String value) {
            addCriterion("Supervise_unit like", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitNotLike(String value) {
            addCriterion("Supervise_unit not like", value, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitIn(List<String> values) {
            addCriterion("Supervise_unit in", values, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitNotIn(List<String> values) {
            addCriterion("Supervise_unit not in", values, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitBetween(String value1, String value2) {
            addCriterion("Supervise_unit between", value1, value2, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andSuperviseUnitNotBetween(String value1, String value2) {
            addCriterion("Supervise_unit not between", value1, value2, "superviseUnit");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("Create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("Create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("Create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("Create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("Create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("Create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("Create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("Create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("Create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("Create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("Create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateIsNull() {
            addCriterion("astModify_date is null");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateIsNotNull() {
            addCriterion("astModify_date is not null");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateEqualTo(Date value) {
            addCriterion("astModify_date =", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateNotEqualTo(Date value) {
            addCriterion("astModify_date <>", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateGreaterThan(Date value) {
            addCriterion("astModify_date >", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("astModify_date >=", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateLessThan(Date value) {
            addCriterion("astModify_date <", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateLessThanOrEqualTo(Date value) {
            addCriterion("astModify_date <=", value, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateIn(List<Date> values) {
            addCriterion("astModify_date in", values, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateNotIn(List<Date> values) {
            addCriterion("astModify_date not in", values, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateBetween(Date value1, Date value2) {
            addCriterion("astModify_date between", value1, value2, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAstmodifyDateNotBetween(Date value1, Date value2) {
            addCriterion("astModify_date not between", value1, value2, "astmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNull() {
            addCriterion("Add_user is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNotNull() {
            addCriterion("Add_user is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserEqualTo(String value) {
            addCriterion("Add_user =", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotEqualTo(String value) {
            addCriterion("Add_user <>", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThan(String value) {
            addCriterion("Add_user >", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThanOrEqualTo(String value) {
            addCriterion("Add_user >=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThan(String value) {
            addCriterion("Add_user <", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThanOrEqualTo(String value) {
            addCriterion("Add_user <=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLike(String value) {
            addCriterion("Add_user like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotLike(String value) {
            addCriterion("Add_user not like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserIn(List<String> values) {
            addCriterion("Add_user in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotIn(List<String> values) {
            addCriterion("Add_user not in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserBetween(String value1, String value2) {
            addCriterion("Add_user between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotBetween(String value1, String value2) {
            addCriterion("Add_user not between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Integer value) {
            addCriterion("flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Integer value) {
            addCriterion("flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Integer value) {
            addCriterion("flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Integer value) {
            addCriterion("flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Integer value) {
            addCriterion("flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Integer> values) {
            addCriterion("flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Integer> values) {
            addCriterion("flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Integer value1, Integer value2) {
            addCriterion("flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactIsNull() {
            addCriterion("Supervise_contact is null");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactIsNotNull() {
            addCriterion("Supervise_contact is not null");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactEqualTo(String value) {
            addCriterion("Supervise_contact =", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactNotEqualTo(String value) {
            addCriterion("Supervise_contact <>", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactGreaterThan(String value) {
            addCriterion("Supervise_contact >", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactGreaterThanOrEqualTo(String value) {
            addCriterion("Supervise_contact >=", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactLessThan(String value) {
            addCriterion("Supervise_contact <", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactLessThanOrEqualTo(String value) {
            addCriterion("Supervise_contact <=", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactLike(String value) {
            addCriterion("Supervise_contact like", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactNotLike(String value) {
            addCriterion("Supervise_contact not like", value, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactIn(List<String> values) {
            addCriterion("Supervise_contact in", values, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactNotIn(List<String> values) {
            addCriterion("Supervise_contact not in", values, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactBetween(String value1, String value2) {
            addCriterion("Supervise_contact between", value1, value2, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseContactNotBetween(String value1, String value2) {
            addCriterion("Supervise_contact not between", value1, value2, "superviseContact");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelIsNull() {
            addCriterion("Supervise_tel is null");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelIsNotNull() {
            addCriterion("Supervise_tel is not null");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelEqualTo(String value) {
            addCriterion("Supervise_tel =", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelNotEqualTo(String value) {
            addCriterion("Supervise_tel <>", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelGreaterThan(String value) {
            addCriterion("Supervise_tel >", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelGreaterThanOrEqualTo(String value) {
            addCriterion("Supervise_tel >=", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelLessThan(String value) {
            addCriterion("Supervise_tel <", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelLessThanOrEqualTo(String value) {
            addCriterion("Supervise_tel <=", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelLike(String value) {
            addCriterion("Supervise_tel like", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelNotLike(String value) {
            addCriterion("Supervise_tel not like", value, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelIn(List<String> values) {
            addCriterion("Supervise_tel in", values, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelNotIn(List<String> values) {
            addCriterion("Supervise_tel not in", values, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelBetween(String value1, String value2) {
            addCriterion("Supervise_tel between", value1, value2, "superviseTel");
            return (Criteria) this;
        }

        public Criteria andSuperviseTelNotBetween(String value1, String value2) {
            addCriterion("Supervise_tel not between", value1, value2, "superviseTel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}